/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ForwarderViewPanel.java
 *
 * Created on Apr 7, 2011, 6:21:32 PM
 */

package com.ecocrypt.proxy.forwarder.gui;

/**
 *
 * @author Bryce Alcock
 */
public class ForwarderViewPanel extends javax.swing.JPanel {

    public static final ForwarderViewPanel instance = new ForwarderViewPanel();

    /** Creates new form ForwarderViewPanel */
    public ForwarderViewPanel() {
        initComponents();
    }
    public void addFowarderPanelTop(ForwarderPanelTop fpt){
	forwarderContainer.add(fpt.getTitle(), fpt);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        forwarderContainer = new javax.swing.JTabbedPane();

        setLayout(new java.awt.BorderLayout());
        add(forwarderContainer, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTabbedPane forwarderContainer;
    // End of variables declaration//GEN-END:variables

}
